package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import com.ccys.db.vo.corporateAndInsurance.EapInfoUsageUnionAllVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/18
*/
@Data
@Table(name = "tbl_eap_benefit")
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("TblEapBenefit")
public class TblEapBenefit extends BaseEntity {
    @Column(name = "eap_id")
    private String eapId;

    @Column(name = "start_date")
    private Date startDate;

    @Column(name = "end_date")
    private Date endDate;

    private Integer status;

    @Column(name = "specialist_company_id")
    private String specialistCompanyId;

    @Column(name = "drug_exclusion_list_id")
    private String drugExclusionListId;

    @Column(name = "diagnosis_exclusion_list_id")
    private String diagnosisExclusionListId;

    @Column(name = "medical_service_exclusion_list_id")
    private String medicalServiceExclusionListId;

    @Column(name = "onboarding_screens_id")
    private String onboardingScreensId;

    @Column(name = "monthly_access_minutes")
    private Integer monthlyAccessMinutes;

    /**
     * 1:unlimited;2:capped at monthly access
     */
    @Column(name = "patient_access")
    @ApiModelProperty("1:unlimited;2:capped at monthly access")
    private Integer patientAccess;

    /**
     * 是否转接到下个月
     */
    @Column(name = "remain_monthly_access")
    @ApiModelProperty("是否转接到下个月")
    private Integer remainMonthlyAccess;

    /**
     * 1:GP 2:SP
     */
    @Column(name = "doctor_type")
    @ApiModelProperty("1:GP 2:SP")
    private Integer doctorType;

    @Column(name = "company_id")
    private String companyId;
}